Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 4.5-7.16]Change the search bar to the one that does not make the request on rendering #5505

Merged
merged 2 commits into from
May 29, 2023

Conversation

yenienserrano
Copy link
Member

Backport c2944dc from #5476.

…ndering (#5476)

* Add state confirm search

* Change search bar

* Remove unused search bar

* Add changelog

(cherry picked from commit c2944dc)
@yenienserrano yenienserrano requested a review from a team as a code owner May 29, 2023 14:42
@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 9.28% ( 3521 / 37958 )
Branches 4.9% ( 1434 / 29272 )
Functions 7.97% ( 752 / 9430 )
Lines 9.37% ( 3401 / 36309 )

@yenienserrano yenienserrano changed the title [Backport 4.5-7.16]Change the search bar to the one that does not make the request [Backport 4.5-7.16]Change the search bar to the one that does not make the request on rendering May 29, 2023
@AlexRuiz7 AlexRuiz7 linked an issue May 29, 2023 that may be closed by this pull request
Copy link
Member

@Tostti Tostti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7.17.6

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
When navigating to management/logs there has to be only 1 request to /cluster/{node}/logs 🟢 🟢
When searching, the request must be made after a period of time without typing 🟢 🟢
When clearing the whole search, you have to make the request without search 🟢 🟢

Details

🟢 When navigating to management/logs there has to be only 1 request to /cluster/{node}/logs

Chrome - 🟢
imagen

Firefox - 🟢
imagen

Safari - ⚫

🟢 When searching, the request must be made after a period of time without typing

Chrome - 🟢
imagen

Firefox - 🟢
imagen

Safari - ⚫

🟢 When clearing the whole search, you have to make the request without search

Chrome - 🟢
imagen

Firefox - 🟢
imagen

Safari - ⚫

7.16.3

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
When navigating to management/logs there has to be only 1 request to /cluster/{node}/logs 🟢 🟢
When searching, the request must be made after a period of time without typing 🟢 🟢
When clearing the whole search, you have to make the request without search 🟢 🟢

Details

🟢 When navigating to management/logs there has to be only 1 request to /cluster/{node}/logs

Chrome - 🟢
imagen

Firefox - 🟢
imagen

Safari - ⚫

🟢 When searching, the request must be made after a period of time without typing

Chrome - 🟢
imagen

Firefox - 🟢
imagen

Safari - ⚫

🟢 When clearing the whole search, you have to make the request without search

Chrome - 🟢
imagen

Firefox - 🟢
imagen

Safari - ⚫

TEST:✔️ CR:✔️

LGTM

@AlexRuiz7 AlexRuiz7 merged commit 2ec9484 into 4.5-7.16 May 29, 2023
@AlexRuiz7 AlexRuiz7 deleted the backport-5476-to-4.5-7.16 branch May 29, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wazuh API usage - Management/Logs
3 participants